import type { AxiosRequestConfig, AxiosResponse } from 'axios'
export interface ZHRequestInterceptors<T = AxiosResponse> {
  requestInterceptors?: (config: AxiosRequestConfig) => AxiosRequestConfig
  requestInterceptorCatch?: (error: any) => any
  responsetInterceptors?: (config: T) => T
  responseInterceptorCatch?: (error: any) => any
}
export interface ZHRequestConfig<T = AxiosResponse> extends AxiosRequestConfig {
  interceptors?: ZHRequestInterceptors<T>
}
